package com.itqf.static_proxy1;

import com.itqf.static_proxy1.impl.UsersServiceImpl;
import com.itqf.static_proxy1.impl.UsersServiceImplProxy;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/14
 * @Time: 上午10:17
 */
public class TestStatic {
    public  static  void  main(String[]args){
        UsersService usersService = new UsersServiceImpl();

        UsersService proxy = new UsersServiceImplProxy(usersService);

        proxy.add();

        proxy.update();

    }
}
